package com.story.modular.app.service.impl;

import com.story.common.exception.BizExceptionEnum;
import com.story.common.exception.BussinessException;
import com.story.common.persistence.dao.UserMapper;
import com.story.common.persistence.form.*;
import com.story.common.persistence.model.User;
import com.story.core.shiro.ShiroKit;
import com.story.core.shiro.ShiroUser;
import com.story.modular.app.service.AppLoginService;
import com.story.modular.system.dao.UserMgrDao;
import com.story.util.ReturnObject;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.subject.Subject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author Pyx
 * @PACKAGE_NAME : com.story.modular.app.service.impl
 * @FileName: AppLoginServiceImpl
 * @date 2020/5/19 15:19
 */
@Service
public class AppLoginServiceImpl implements AppLoginService {
    @Resource
    private UserMgrDao managerDao;
    @Autowired
    private StringRedisTemplate stringRedisTemplate;
    @Resource
    private UserMapper userMapper;
    @Autowired
    private  StringRedisTemplate redisTemplate;
    @Override
    public ShiroUser login(LoginForm loginForm) {
       return null;
    }

    @Override
    public Object getSms(SmsForm smsForm) {
        return null;
    }

    @Override
    public Object appSmsLogin(LoginSmsForm loginSmsForm) {
        return null;
    }

    @Override
    public Object appSmsLog(LogForm logForm) {
        return null;
    }

    @Override
    public Object appUpPwd(ForgetForm forgetForm) {
        return null;
    }
}
